package com.hmt.pharmacy.module.medicine.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hmt.pharmacy.api.medicine.SearchMedicineParamDto;
import com.hmt.pharmacy.api.medicine.SearchMedicineSelectParamDto;
import com.hmt.pharmacy.module.medicine.entity.Medicine;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 钟志豪
 * @since 2025-06-25
 */
public interface MedicineService extends IService<Medicine> {

    Page<Medicine> findPage(SearchMedicineParamDto search);

    void saveData(Medicine entity);

    void updateData(Medicine entity);

    void delete(String id);

    Page<Medicine> findSelectList(SearchMedicineSelectParamDto search);

}
